<?php foreach($this->getBlocks() as $block):?>
	<div class="box-collateral box-additional">
		<div class="block block-related">
			<?php $data = $block->getData();?>
			<div class="block-title">
				<strong><span><?php echo $block->getName(); ?></span></strong>
			</div>
			<div class="block-content">
				<ul>
					<?php foreach($this->strToArray($data['product_ids'], $data['number_product']) as $item):?>
					<?php $product = $this->getProductInfor($item);?>
					<li class="mageex_item">
						<a href="<?php echo $product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($product->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($product, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->htmlEscape($product->getName()) ?>" /></a>
						<br>
						<a href="<?php echo $product->getProductUrl() ?>"><?php echo $this->htmlEscape($product->getName()) ?></a>
						<br />
						<div class="price-box">
							<span id="product-price-45" class="regular-price">
								<span class="price"><?php echo $this->getPriceHtml($product, true, '-related') ?></span>
							</span>
						</div>
						<br/>
						<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
					</li>
					<?php endforeach;?>
				</ul>
			</div>
		</div>
	</div>
<?php endforeach;?>